package com.songtech.store.dao;


import com.songtech.store.bean.Store;
import com.songtech.store.bean.StoreVo;

import java.util.List;
import java.util.Map;

public interface StoreMapper {
    Integer deleteByPrimaryKey(Long id);

    Integer insert(Store record);

    Integer insertSelective(Store record);

    Store selectByPrimaryKey(Long id);

    Store selectByImei(String imei);

    Integer updateByPrimaryKeySelective(Store record);

    Integer updateByImeiSelective(Store record);

    Integer updateByPrimaryKey(Store record);

    List<Store> selectInStoreList(Map<String, String> map);

    List<Store> selectOutStoreList(Map<String, String> map);

    List<Store> selectRecordDetailsList(Map<String, String> map);

    int selectAllDevice(Map<String,String> map);

    int deviceOut(Map<String, String> map);

    int deviceTodayOut(Map<String, String> map);

    int deviceInventory(Map<String, String> map);

    List<StoreVo> deviceList(StoreVo storeVo);

    List<Store> deviceOutByDay(Map<String, Object> map);

    List<Store> deviceAllByDay(Map<String, Object> map);


}